#include<bits/stdc++.h>

using namespace std;
typedef long long ll;

int T;
int main()
{
    freopen("arena.in", "r", stdin);
    freopen("arena.out", "w", stdout);
    scanf("%d", &T);
    for (int i = 1;i <= T; ++i)
        printf("0\n");
    return 0;
}
